
package com.yantong.constant;

/**
 * 会员类别
 * @author kanghaixin
 * @date 2018/9/11.11:51
 */
public enum MemberType {
    NORMAL(0, "普通用户"),
    INVITE_TO_COMMANDER(1, "邀请成为门店中"),
    APPLY_TO_COMMANDER(2, "申请成为门店中"),
    COMMANDER(3, "门店"),
    CHECKED_NO_OPEN(4, "审核通过未开通");

    private int code;

    private String type;


    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    MemberType(int code, String type) {
        this.code = code;
        this.type = type;
    }
}
